import hashlib

# 不可逆编码
name='yuhang'
md5=hashlib.md5(name.encode('utf-8'))
print(md5.hexdigest()) #be909b7d0d77302dfcaf202c75e7df8d

